Search results
23 packages found
compute the closest common parent for file paths
Get paths for storing things like data, config, cache, etc
Computes the longest prefix string that is common to each path, excluding the base component
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)
- appdir
- application
- cache
- common
- config
- cross-platform
- data
- directory
- environment
- linux
- mac
- macos
- node4
- node6
- View more
Determine common OS/platform paths (home, temp, ...)
Determine XDG Base Directory paths (OS/platform portable)
Node module that finds the deepest common folder from an array of given paths
Finds the longest common parent directory path in an array of file path strings or custom objects. Also returns sub and base parts for each path.
Returns an array containing the initial elements which both input arrays have in common
Returns the parent directory common to each path
Placeholder for JavaScript, CSS and SASS
- easing
- view
- animation
- library
- sass
- css
- javascript
- flexbox
- visibility
- utilities
- common
- slideshow
- interaction
- pinner
- View more
path.relative to be used in a require statement
env-paths rewritten for Typescript
test whether a require string is relative
Detects the same starting part of the path in an array of file paths.
FlattenJSON is a utility function for flattening JSON objects into a single-level object with keys representing the accessor path to the value
Get common folders in a unified way.
Get a path of the standard cache directory for a given application
Move your JS files and it will update any dependent files with the new path.